package cate.game.pvp.gradepvp.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBGradePvp;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "天机榜数据 请求")
public class GradePvpSixGodReq implements MsgInput {
    @NoteField("赛季")
    public int season;
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new GradePvpSixGodResp(season, cc.getRole()));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGradePvp.SIX_GOD_REQ;
    }
}
